
<form nz-form [nzLayout]="'inline'" class="search__form">
<nz-row [nzGutter]="8">
    <nz-col nzMd="6" nzSm="24">
    <nz-form-item>
        <nz-form-control>
        <input nz-input [(ngModel)]="q.name" name="name" placeholder="输入姓名或账户" id="name">
        </nz-form-control>
    </nz-form-item>
    </nz-col>
    <nz-col nzMd="12" nzSm="24">
    <button nz-button type="button" [nzType]="'default'" (click)="st.load(1, q)"><i class="anticon anticon-search"></i>查询</button>
    <button nz-button type="button" [nzType]="'primary'" (click)="save()"><i class="anticon anticon-plus"></i>添加</button>
    </nz-col>
</nz-row>
</form>
<simple-table #st
  style="margin-top: 8px"
  [columns]="columns"
  [data]="url"
  [ps]="ps"
  [extraParams]="q"
  [resReName]="{ total: 'data.total', list: 'data.rows'}"
  [reqReName]="{pi:'pageNumber', ps: 'pageSize'}"
  toTopInChange
  [showTotal]="true"
  [showPagination]="true"
  (checkboxChange)="checkChange($event)"
  >  
</simple-table>
